|
2wirespiiso 2.2.0
|
This file contains API for 2-Wire SPI ISO Click Driver. More...
#include "drv_digital_out.h"#include "drv_digital_in.h"#include "drv_spi_master.h"#include "spi_specifics.h"Go to the source code of this file.
Data Structures | |
| struct | c2wirespiiso_t |
| 2-Wire SPI ISO Click context object. More... | |
| struct | c2wirespiiso_cfg_t |
| 2-Wire SPI ISO Click configuration object. More... | |
Macros | |
| #define | C2WIRESPIISO_SET_DATA_SAMPLE_EDGE SET_SPI_DATA_SAMPLE_EDGE |
| Data sample selection. | |
| #define | C2WIRESPIISO_SET_DATA_SAMPLE_MIDDLE SET_SPI_DATA_SAMPLE_MIDDLE |
| #define | C2WIRESPIISO_MAP_MIKROBUS(cfg, mikrobus) |
| MikroBUS pin mapping. | |
Enumerations | |
| enum | c2wirespiiso_return_value_t { C2WIRESPIISO_OK = 0 , C2WIRESPIISO_ERROR = -1 } |
| 2-Wire SPI ISO Click return value data. More... | |
Functions | |
| void | c2wirespiiso_cfg_setup (c2wirespiiso_cfg_t *cfg) |
| 2-Wire SPI ISO configuration object setup function. | |
| err_t | c2wirespiiso_init (c2wirespiiso_t *ctx, c2wirespiiso_cfg_t *cfg) |
| 2-Wire SPI ISO initialization function. | |
| void | c2wirespiiso_default_cfg (c2wirespiiso_t *ctx) |
| 2-Wire SPI ISO default configuration function. | |
| err_t | c2wirespiiso_write (c2wirespiiso_t *ctx, uint8_t *data_in, uint8_t in_len) |
| 2-Wire SPI ISO write function. | |
| err_t | c2wirespiiso_read (c2wirespiiso_t *ctx, uint8_t *data_out, uint8_t out_len) |
| 2-Wire SPI ISO read function. | |
| err_t | c2wirespiiso_write_then_read (c2wirespiiso_t *ctx, uint8_t *data_in, uint8_t in_len, uint8_t *data_out, uint8_t out_len) |
| 2-Wire SPI ISO write then read function. | |
| void | c2wirespiiso_disable_device (c2wirespiiso_t *ctx) |
| 2-Wire SPI ISO disable device function. | |
| void | c2wirespiiso_enable_device (c2wirespiiso_t *ctx) |
| 2-Wire SPI ISO enable device function. | |
| void | c2wirespiiso_disable_tx (c2wirespiiso_t *ctx) |
| 2-Wire SPI ISO disable tx function. | |
| void | c2wirespiiso_enable_tx (c2wirespiiso_t *ctx) |
| 2-Wire SPI ISO enable tx function. | |
| uint8_t | c2wirespiiso_get_bne_pin (c2wirespiiso_t *ctx) |
| 2-Wire SPI ISO get bne pin function. | |
This file contains API for 2-Wire SPI ISO Click Driver.